package psrc.logic.util.beans;

public class RedeBean {

	private String id_rede;
	private String nome;
	private String responsavel;
	private String telefone;
	
	/**
	 * @return the id_rede
	 */
	public String getIdRede() {
		return id_rede;
	}
	/**
	 * @param id_rede the id_rede to set
	 */
	public void setIdRede(String id_rede) {
		this.id_rede = id_rede;
	}
	/**
	 * @return the nome
	 */
	public String getNome() {
		return nome;
	}
	/**
	 * @param nome the nome to set
	 */
	public void setNome(String nome) {
		this.nome = nome;
	}
	/**
	 * @return the responsavel
	 */
	public String getResponsavel() {
		return responsavel;
	}
	/**
	 * @param responsavel the responsavel to set
	 */
	public void setResponsavel(String responsavel) {
		this.responsavel = responsavel;
	}
	/**
	 * @return the telefone
	 */
	public String getTelefone() {
		return telefone;
	}
	/**
	 * @param telefone the telefone to set
	 */
	public void setTelefone(String telefone) {
		this.telefone = telefone;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id_rede == null) ? 0 : id_rede.hashCode());
		return result;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		RedeBean other = (RedeBean) obj;
		if (id_rede == null) {
			if (other.id_rede != null)
				return false;
		} else if (!id_rede.equals(other.id_rede))
			return false;
		return true;
	}
	
}
